﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace MyTask.Domain.Models
{
    [Table("UserInfo")]
   public class UserInfo
    {
        /// <summary>
        ///  Primary key
        /// </summary>
        [Key]
        public int UserId { get; set; }
        /// <summary>
        /// User first name
        /// </summary>
        public String FirstName { get; set; }
        /// <summary>
        /// User last name
        /// </summary>
        public String LastName { get; set; }
        /// <summary>
        /// User Name
        /// </summary>
        public String UserName { get; set; }
        /// <summary>
        /// Password
        /// </summary>
        public String Password { get; set; }
        /// <summary>
        /// Email Adrress
        /// </summary>
        public string Email { get; set; }
        /// <summary>
        /// User create time
        /// </summary>
        public DateTime CreateTime { get; set; } = DateTime.Now;
        
    }
}
